Two dimensional hilbert huang transform real-time image processing system with parallel computation capabilities

ABSTRACT

An apparatus, computer program product and method of analyzing two-dimensional data input. The system is known as Syneren Signal and Image Enhancement Technology (SIETECH). SIETECH can be implemented in software or in Field Programmable Gate Array (FPGA) hardware. Some embodiments of the present invention pertain to apparatuses, method, and a computer program that is configured to cause the central processor to pass the input data to the multi-thread processors, wherein each data point is mapped on the thread level and the local lower and upper bounds are constructed simultaneously based on order statistic window.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of U.S. Provisional patent application Ser. No. 13/474,367 filed May 17, 2012.

FIELD

The present invention is generally related to data analysis method and apparatus for extracting and physical meaningful layers of information from non-stationary and non-Gaussian data. It is understood that the invention is applicable for all two dimensional data sets, not limited to image matrices, in which this invention finds utility in separating and extracting layers of information and noises. It should also be noted that the proposed invention is capable of processing stationary and Gaussian data sets while it presents superiority in handling the non-stationary and non-Gaussian data.

BACKGROUND

Data analysis is indispensable for both research and industry use to release hidden information. Traditional data analysis method such as Fourier Transform (FT) and Wavelet Transform (WT) are only capable of processing linear and stationary signals. The corresponding spectrum result does not provide much insight into the physical meaning. Very often, the real world collected data is non-stationary and corrupted by noises, for which FT and WT are unable to deliver insightful result. Compared to the traditional data processing techniques, the Hilbert Huang Transform (HHT) conforms better to the local features of input signals and displays its capabilities in processing non-linear and non-stationary signals. The Hilbert Huang Transform is divided into two major parts: Empirical Mode Decomposition (EMD) and Hilbert Spectrum Analysis (HSA). In the EMD step, input signals are decomposed into a finite and small number of arbitrary components called Intrinsic Mode Functions (IMFs). IMFs are computed from sequential iterations on upper and lower envelopes of the input signals. In Hilbert Spectrum Analysis, the simple and oscillatory IMFs are further processed by the Hilbert Transform.

Up to this date, the application of Hilbert Huang Transform is limited to research fields and is used either on one dimensional signals or small size two dimensional signals. Computation complexity in building the upper and lower envelopes for IMF extraction is the main reason preventing HHT2 from being used for practical applications.

SUMMARY

Certain embodiments of this invention may provide solutions to time complexity and stoppage determination of existing 2-D Hilbert Huang Transform.

In one embodiment, a computer program is implemented on a computer-readable storage medium and a multi-thread processing unit storage medium. When executed, the computer program is configured to cause the central processor to read the input data and pass it to the multi-thread processors. Data points are associated to computational threads that in turn perform a simultaneous construction of the local lower and upper envelopes and decide the number of EMD interactions on the multithread processor.

In another embodiment, a computer-implemented method includes passing the input image to the multi-thread processors at thread level, constructing the local lower and upper envelopes simultaneously, and determine the how many interactions of EMD should be executed.

In yet another embodiment, an apparatus includes physical memories including a computer program, and central processors and multi-thread processors coupled to the corresponding memories. The computer-implemented method is configured to cause the central processor to load the input data to the multi-thread processors at thread level, wherein the local lower and upper envelopes are constructed simultaneously and the interactions of EMD are determined accordingly.

BRIEF DESCRIPTIONS OF THE DRAWING

In order that the advantages of certain embodiments of the invention will be readily understood, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings. While it should be under stood that these drawings depict only typical embodiments of the invention and are not therefore to be considered to be limiting of its scope, the invention Will be described and explained With additional specificity and detail through the use of the accompanying drawings, in which:

FIG. 1 illustrates a block-diagram of a real-time Hilbert Huang Transform with parallel processing capabilities, according to an embodiment of the present invention.

FIG. 2 illustrates an accelerated Hilbert Huang Transform with 2-D capabilities, according to an embodiment of the present invention.

FIG. 3A illustrates the thread allocation mapping to the input data matrix and illustrates the input array read by the conventional serial method while FIG. 3B illustrates the remapped computation on the individual thread.

FIG. 3B illustrates the assignment of the input array to the thread on the multi-thread processor when the size of the dataset does not exceed the maximum number of the threads.

FIG. 4 illustrates a method of extracting IMF candidates, which is called sifting process, according to an embodiment of the present invention.

FIG. 5 illustrate a method of deciding the order filter window size and building corresponding upper and lower envelopes, according to an embodiment of the present invention. FIG. 6 illustrate a method of testing whether IMF candidate satisfies the requirement for IMF, according to an embodiment of the present invention.

FIG. 6 illustrates how the process decide whether the IMF candidate is good or not.

DETAILED DESCRIPTION OF THE EMBODIMENTS

It will be readily understood that the components of the present invention, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of an apparatus, a system, a method, and a computer readable medium, as represented in the attached figures, is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention.

The features, structures, or characteristics of the invention described throughout this specification may be combined in any suitable manner in one or more embodiments. For example, the usage of “certain embodiments,” “some embodiments,” or other similar language, throughout this specification refers to the fact that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present invention. Thus, appearances of the phrases “in certain embodiments,” “in some embodiments,” “in other embodiments,” or other similar language, throughout this specification do not necessarily all refer to the same group of embodiments, and the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

One or more embodiments of the present invention pertain to a reference HHT Empirical Mode Decomposition for 2-D (EMD2) algorithms that require high capability computing, and an introduction to HHT2 spectrum concepts.

The primary motivation is the need for the development of accelerated parallelized HHT2 is to develop a real-time HHT2 tool for processing large size images, which may contain non-linear and non-stationary information. The goal is to accelerate the entire process to derive result in a useful manner.

The main problem in developing HHT2 is its high computational complexity and expenses in building the envelopes and repeated tests of stoppage criteria. Assuming the image size is N×N and n interactions of test is conducted when the first IMF is extracted, the computational complexity is estimated as nO(N⁴).

Another problem with Hilbert Huang Transform is the boundary effect. Failure to determine proper behavior of the boundary points will lead to the generation of meaningless IMF components. For example, some 2D HHT methods construct the upper and lower bounds based on the spline function. The overall shape of the spline varies as the boundary points vary, which in turn results in unpredictable possible sets of Intrinsic Mode Function (IMF). Thus, dividing input signals into subsets of smaller size to conduct real-time process separately may not be sufficient as different ways of separating the input signal results in different boundary effects, which increase the uncertainties in the lower and upper envelopes of the IMFs. Conversely, applying the thread level parallelism reduces the computational complexities without introducing extra boundary effects. The proposed HHT2 is independent from HHT1 and take the local input from both directions to build the lower and upper envelopes. Each data point from the input signal is mapped at thread level and communicates with neighbor points within the order statistic window. Apparatuses such as GPU can be used to realize the thread level separation.

FIG. 1 illustrates a block diagram example of a real-time data processing system 100 with 2-D capabilities. System 100 may include main memory 105 to store and communicate information inside the centralized processor 110. Main memory 105 also stores and communicates the transitional information between the centralized processor 110 and multi-thread processor 120. Processor 110 can be any type of general or specific purpose processor. Processor 120 can be any type of processor embedded with multi threads. GPU is a good example for 120. The multi-thread processor takes the data stored in local memory 115 and conduct the majority of the algorithm at a parallelized level.

The computer-readable medium may be any available media that can be accessed by processor 110. The computer-readable medium may include both volatile and nonvolatile medium, removable and non-removable media, and communication media. The communication media may include computer-readable instructions, data structures, program modules, or other data and may include any information delivery media.

Processor 110 can be coupled to a display 125, such as a Liquid Crystal Display (“LCD”). Display 125 may display information to the user. System 100 may also include a keyboard 130 and a cursor control unit 135, e.g. a computer mouse, for human interactions.

System 100 can also include an input device 140 or an image device 145. The input device 140 may include an antenna 150 and a receiver 155 for receiving non-stationary and non-linear data, for example, from a satellite collecting geospatial data. System 100 may also include a keyboard 130 and a cursor control unit 135, such as a computer mouse for human interactions.

FIG. 2 illustrates the parallelized Hilbert Huang Transform method 200 with 2-D capabilities. The method of FIG. 2 may be executed by, for example, the computing system shown in FIG. 1.

In order to initialize the method of FIG. 2, a main script can be invoked to cause the processor to initialize the system parameters {N, M, Δs}. N is the input image width while M is the input image length, and Δs is the threshold to decide whether the IMF requirement is met. At 202, the system parameters are initialized and input data are read. At 204, the input data along with the parameters is passed to the multi-thread processor, where corresponding memory is allocated and the data point is assigned at the thread level. Once the data point is assigned to the thread, the thread will optimize the building of the extrema and generate the pre-IMFs accordingly. Step 206 is called sifting process. The IMF candidate (pre-IMF) will be tested against the IMF requirements to decide whether it can be output as an IMF result. If the requirements are satisfied, the multi-thread processor will output the IMF and pass it to central processor to display.

FIG. 3B illustrates the assignment of the input array to the thread on the multi-thread processor when the size of the dataset does not exceed the maximum number of the threads. Take GPU for example. The largest dataset size GPU can take into is 2¹⁶−1. If the dataset size is larger than the maximum thread number, separating the input data into smaller subsets is required. FIG. 3A illustrates the input array read by the conventional serial method while FIG. 3B illustrates the remapped computation on the individual thread. The thread index (Thread.Idx) and input indices (Array.rowIdx and Array.colIdx) holds the following relationship:

Thread.Idx=rows×Array.rowIdx+Array.colIdx

FIG. 4 illustrates a method to realize the sifting process 206. The input signal h_(k-1)(x,y), the upper envelope u_(k)(x,y), and lower envelope l_(k)(x,y), and the IMF candidate h_(k)(x,y) should hold the relationship as:

${{h_{k - 1}\left( {\overset{\prime}{x},y} \right)} - {h_{k}\left( {x,y} \right)}} = \frac{{u_{k}\left( {x,y} \right)} + {l_{k}\left( {x,y} \right)}}{2}$

FIG. 5 illustrates a method for optimizing the determination of upper and lower envelopes, according to an embodiment of the present invention. The method of FIG. 5 may be executed by, for example, the computing system of FIG. 1.

At 20611. the method detects the local maxima and minima under a predefined definition of extreme. For example, two mutually perpendicular sliding windows may be used to decide the local extremas.

At 20612, the calculation of the distance among the maximas and minimas are conducted. The distance calculated will be utilized to decide the order filter window size. The window size may be decided in the equations as follows:

w=d ₁=min{min{d _(max)},min{d _(min)}}

w=d ₂=max{min{d _(max)},min{d _(min)}}

w=d ₃=min{max{d _(max)},max{d _(min)}}

w=d ₄=max{max{d _(max)},max{d _(min)}}

d_(max)—Matrix of distance among the maximas d_(min)—Matrix of distance among the minimas The average calculation complexity of deciding the distance among the extremas in this process is O(N⁴) when the input array is a squared matrix with side N. The window size w may be decided by diving the total element number by the extrema number to improve the computation efficiency,

FIG. 6 illustrates how the process decide whether the IMF candidate is good or not. Theoretically, the IMF should satisfy the IMF requirement: 1. The number of the zero crossings 2. The median of the IMF should be close to zero. To accomplish this, a criterion similar to Cauchy converges test is applied as follows:

${SD}_{k} = \frac{\sum\limits_{y = 0}^{M}\; {\sum\limits_{x = 0}^{N}\; {{{h_{k - 1}\left( {x,y} \right)} - {h_{k}\left( {x,y} \right)}}}^{2}}}{\sum\limits_{y = 0}^{M}\; {\sum\limits_{x = 0}^{N}\; {h_{k - 1}^{2}\left( {x,y} \right)}}}$

k—the kth interaction of sifting h_(k-1)(t)—the input signal for the kth interaction h_(k)(t)—the IMF candidate for the kth interaction In this stop criterion evaluation process, instead of conducting the sequential computation of the squared result, the summation process is conducted by the optimized parallel process. For example, the tree based summation has the same time complexity as the sequential method but eliminate the waiting time for the other data point to be processed. A binary tree may be applied to realize the computation cost reduction. 

What is claimed is:
 1. A computer program embodied on a non-transitory computer-readable medium, the computer program, when executed, configured to cause the system to: read the input data via central processor and pass the input data to the multi-thread processor cause the multi-thread processor to construct upper envelope and lower envelopes for input data build the embedding frame to predict boundary trend determine whether the IMF candidate is good to be extracted
 2. The computer program of claim 1, wherein the computer program is further configured to cause the multi-thread processor to allocate the input data at thread level and construct the one by one relationship between the data point and the thread.
 3. The computer program of claim 1, wherein the computer program is further configured to cause the multi-thread processor to generate a local map of extrema based on the input.
 4. The computer program of claim 3, wherein the computer program is further configured to cause the processor to generate local maps of extrema based on the input, and a local extrema detection algorithm.
 5. The computer program of claim 1, wherein the computer program is further configured to cause the multi-thread processor to determine when to stop extracting the median from the input data.
 6. A computer-implemented method, comprising: data communication and allocation, by reading the input data via center processor and pass it to the multi-thread processor envelope construction, by scanning the input data process termination, by building the embedding frame to predict boundary trend, by testing whether the IMF is good enough
 7. The computer-implemented method of claim 6, further comprising: allocating the input data at the thread level and construct the one by one relationship between the data point and the thread.
 8. The computer-implemented method of claim 6, further comprising: generating a local map of extrema based on the input image on the multi-thread processor.
 9. The computer-implemented method of claim 8, further comprising: generating local maps of extrema based on the input image, a local extrema detection algorithm, and an embedded frame.
 10. The computer-implemented method of claim 6, further comprising: determining when to stop extracting the median from the input data
 11. An apparatus, comprising: physical main memory and local memory comprising a computer program; and one processor coupled to the main memory while the other is coupled to the local memory, wherein the computer program is configured to cause the apparatus to: read the input data via central processor and pass the input data to the multi-thread processor cause the multi-thread processor to construct an upper envelope and lower envelope for an input determine whether the IMF candidate is good to be extracted
 12. The apparatus of claim 11, wherein the computer program is further configured to cause the multi-thread processor to allocate the input data at the thread level and construct the one by one relationship between the data point and the thread.
 13. The computer program of claim 11, wherein the computer program is further configured to cause the multi-thread processor to generate a local map of extrema based on the input image.
 14. The computer program of claim 11, wherein the computer program is further configured to cause the multi-thread processor to determine when to stop extracting the median from the input data 